package tgc.edu.exam.entity;

import java.util.UUID;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import org.springframework.data.annotation.CreatedBy;

import tgc.edu.exam.custom.BaseEntity;

/***
 * 考核分数
 * @author zmq
 *
 */

@Entity
public class StudentInformation extends BaseEntity<UUID> {
	
	private StudentAssess assess;
	private AssessmentInformation information;
	private double grade;//分数
	
	@ManyToOne
	@CreatedBy
	public StudentAssess getAssess() {
		return assess;
	}
	public void setAssess(StudentAssess assess) {
		this.assess = assess;
	}
	@ManyToOne
	@CreatedBy
	public AssessmentInformation getInformation() {
		return information;
	}
	public void setInformation(AssessmentInformation information) {
		this.information = information;
	}
	public double getGrade() {
		return grade;
	}
	public void setGrade(double grade) {
		this.grade = grade;
	}
	
	

}
